﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace WEB.Models
{
    public class UsuarioModel
    {
        [Required]
        [Display(Name = "Nome")]
        public string Nome { get; set; }

        [Required]
        [Display(Name = "CPF")]
        public string Cpf { get; set; }

        [Required]
        [Display(Name = "Email")]
        public string Email { get; set; }

        [Required]
        [Display(Name = "Login")]
        public string Login { get; set; }

        [Required(ErrorMessage = "Mínimo de 4 dígitos.")]
        [Display(Name = "Senha")]
        [DataType(DataType.Password)]
        [StringLength(10, MinimumLength = 4)]
        public string Senha { get; set; }

    }
}